#include "testlib.h"
#include <qstring.h>
#include <QDateTime>
#include <QDebug>

TestLib::TestLib()
{
}

bool TestLib::printHello()
{
    qDebug("hello llllllllllllll");

    return true;
}

bool TestLib::printHello2()
{
    QString sss;

    QString date = QDateTime::currentDateTime().toString("hh:mm:ss.zzz");

    sss = date;

    qDebug() << sss << "; " << date;

    return false;
}

bool TestLib::printString(std::string s)
{
    printf("printfstring:%s\n", s.c_str());
    qDebug() << s.c_str();

    return true;
}

bool TestLib::printchar(char *s)
{
    printf("printfstring:%s\n", s);
    qDebug() << s;
    return true;

}
